:root {
	--totalWid: 1900px;
}
body {
	width: var(--totalWid);
	margin: 0 auto;
	overflow-x: hidden;
}

/* <!-- 头部 --> */
header {
	width: 100%;
	height: 66px;
	background-color: rgba(0, 0, 0, 0);
	border-bottom: 1px solid #00bdff;
	box-sizing: border-box;
	padding: 0 50px;
	z-index: 30;
}
/* logo */
#logo {
	height: 100%;
}
#logo > h1 {
	height: 100%;
	margin: 0;
}
#logo > h1 > a {
	display: inline-block;
	height: 50px;
	width: 195px;
	background: url(../imgs/loginlogo.png) no-repeat;
	font-size: 0;
}
/* 中间导航栏 */
#nav1 {
	color: #7e9ab2;

	font-size: 24px;
	height: 100%;
}
#nav1 span {
	display: inline-block;
	margin: 0 20px;
	line-height: 64px;
}
#nav1 span a {
	color: #7e9ab2;
}
#nav1 span:hover {
	border-bottom: 4px solid #00bdff;
	color: #00bdff;
	cursor: pointer;
}
#nav1 span:nth-child(2) {
	border-bottom: 4px solid #00bdff;
}
#nav1 span:nth-child(2) a {
	color: #00bdff;
}

/* 右侧按钮 */
#btn1 {
	color: #7e9ab2;
	height: 100%;
	width: 150px;
	font-size: 12px;
	text-align: center;
}
#btn1 span:last-child {
	color: white;
}
#btn1 span {
	display: inline-block;
	border-radius: 15px;
	border: 1px solid white;
	height: 20px;
	line-height: 20px;
	margin-left: 10px;
}
#btn1 span:first-child {
	width: 50px;
}
#btn1 span:last-child {
	width: 80px;
	background-color: rgb(255, 94, 0);
	border: 1px solid rgb(255, 94, 0);
}

/* 主体 */
/* API分类区 */
#box1 {
	width: 100%;
	height: 330px;
	padding: 110px;
	margin-bottom: 20px;
}
#box1 div > h1 {
	font-size: 24px;
}
#box11 {
	width: 100%;
	display: flex;
	justify-content: flex-start;
	margin-bottom: 60px;
}
#box11 span {
	height: 25px;
	font-size: 12px;
	line-height: 25px;
	padding: 0 18px;
	border: 1px solid #dddddd;
	border-radius: 10px;
	margin-right: 12px;
	margin-top: 10px;
}
#box11 span.active {
	color: #00bdff;
	border: 1px solid #00bdff;
}
#box11 span:hover {
	cursor: pointer;
}

/* 搜索框部分 */
#box1 div p input {
	width: 230px;
	height: 30px;
	border-radius: 15px;
	outline: none;
	border: none;
	background-color: #f4f4f4;
	padding: 0 17px;
	line-height: 30px;
	font-size: 12px;
	margin-left: 10px;
}
#box1 div p strong {
	display: inline-block;
	width: 120px;
	text-align: center;
}
#box1 div p img {
	height: 16px;
	left: 330px;
	top: 6px;
}
#box1 div p img:hover {
	cursor: pointer;
}
/* 主体显示区 */
#box2 {
	width: 100%;
}
/* 主体显示区的盒子样式 */
#box2 > div > div {
	width: 230px;
	height: 270px;
	margin-bottom: 15px;
	text-align: center;
	border: 1px solid #eeeeee;
	color: #666666;
	overflow: hidden;
	font-size: 12px;
}
#box2 > div > div:hover {
	box-shadow: 3px 3px 10px #00bdff;
}
#box2 > div > div:hover button {
	bottom: 20px;
}
#box2 > div > div img {
	/* width: 90px; */
	height: 70px;
	margin: 40px auto 30px;
}
#box2 > div > div > div {
	width: 60px;
	height: 22px;
	background-color: #e5f8ff;
	color: #00bdff;
	top: 10px;
	left: 10px;
	line-height: 22px;
}
#box2 > div > div span {
	color: #29c287;
	line-height: 40px;
	font-size: 14px;
}
#box2 > div > div span.price {
	color: #ff5a6b;
}
#box2 > div > div button {
	width: 190px;
	height: 30px;
	background-color: #00bdff;
	left: 20px;
	bottom: -30px;
	transition: all 1s;
	color: white;
	border: none;
	font-size: 14px;
}
#box3 {
	height: 150px;
	width: 100%;
	margin-top: 20px;
}
#box3 a {
	color: black;
	display: inline-block;
	width: 24px;
	height: 24px;
	line-height: 24px;
	border-radius: 12px;
	text-align: center;
	margin: 0 8px;
}

#box3 span {
	color: black;
	display: inline-block;
	height: 24px;
	line-height: 24px;
	border-radius: 12px;
	text-align: center;
	margin: 0 8px;
	padding: 0 6px;
}
#box3 span:hover {
	cursor: pointer;
}
#box3 .Last-pages,
#box3 .Next-pages {
	color: #00bdff;
}
#box3 span.active2 {
	background-color: #00bdff;
	color: white;
}

/* 尾部 */
footer {
	height: 330px;
	width: 100%;
	background-color: #f8f8f8;
}
footer div #top {
	height: 230px;
	width: 100%;
}
/* 左侧文字部分 */
#top #left {
	width: 740px;
	height: 230px;
}

#left div {
	width: 110px;
	height: 230px;
	font-size: 12px;
	color: #bac4da;
}

#left div h3 {
	font-size: 14px;
	color: #000;
	margin-top: 40px;
	margin-bottom: 30px;
	cursor: pointer;
}
#left div p {
	line-height: 24px;
	cursor: pointer;
}
/* 右侧二维码部分 */
#right h3 {
	font-size: 14px;
	color: #000;
	margin-top: 40px;
	margin-bottom: 10px;
	text-align: right;
	cursor: pointer;
}
#right p {
	text-align: right;
	width: 100%;
	color: #bac4da;
	font-size: 12px;
	margin-bottom: 35px;
	cursor: pointer;
}
#right img {
	width: 100px;
	height: 100px;
	cursor: pointer;
}

/* 尾部下部分 */
#button {
	height: 60px;
	color: #bac4da;
	font-size: 12px;
	line-height: 60px;
	margin-top: 40px;
	cursor: pointer;
}

/* 回到顶部按钮 */
footer #up {
	position: fixed;
	opacity: 0.5;
	bottom: 10px;
	right: 250px;
	width: 40px;
	height: 40px;
	transition: all 1s;
}
footer #up:hover {
	cursor: pointer;
	transform: rotate(360deg);
}

/* 蒙层 */
#mask {
	width: 100%;
	height: 100%;
	position: fixed;
	z-index: 70;
	background-color: rgba(0, 0, 0, 0.5);
	top: 0;
	left: 0;
	display: none;
}
/* 登录框 */
#mask #box4 {
	width: 400px;
	height: 550px;
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	background-color: white;
	z-index: 71;
	padding: 30px 20px;
}
#mask #box4 > div {
	width: 100%;
}

#mask #box4 > div:nth-child(2) {
	margin: 30px 0;
}
#mask #box4 > div:nth-child(2) span {
	width: 180px;
	height: 40px;
	line-height: 40px;
	color: #555555;
}
#line {
	width: 1px;
	height: 10px;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	background-color: #eeeeee;
}
#mask #box4 > div:nth-child(2) span.active1 {
	color: #00bdff;
}
#box4 > div:nth-child(2) span.active1::after {
	content: "";
	display: inline-block;
	width: 30%;
	height: 2px;
	position: absolute;
	left: 50%;
	bottom: 0px;
	transform: translate(-50%);
	background-color: #00bdff;
}
/* 账号密码登录表单 */
#form1 {
	/* display: none; */
}
#box4 #form1 {
	font-size: 12px;
	color: #555555;
}
#box4 #form1 input {
	width: 360px;
	height: 40px;
	border: none;
	border-bottom: 1px solid #e7e7e7;
	padding: 0 30px;
	outline: none;
	margin-bottom: 20px;
}
#icon1 {
	display: inline-block;
	width: 20px;
	height: 27px;
	background: url(../imgs/loginIcon.png) 24px 0px;
	left: 4px;
	top: 5px;
}
#icon2 {
	display: inline-block;
	width: 20px;
	height: 27px;
	background: url(../imgs/loginIcon.png) 54px 0px;
	left: 4px;
	top: 5px;
}
/* 忘记密码 */
#box4 #form1 p:nth-child(3) {
	text-align: right;
	color: #00bdff;
	height: 24px;
	margin-bottom: 20px;
}
#box4 #form1 button {
	width: 360px;
	height: 46px;
	background-color: #03c5ff;
	color: white;
	line-height: 46px;
	border: none;
	font-size: 14px;
	margin-bottom: 20px;
}
#box4 form > p:last-child {
	text-align: right;
	margin-top: 17px;
}
#box4 form p:last-child a {
	color: #03c5ff;
}
.icon3 {
	display: inline-block;
	width: 20px;
	height: 27px;
	background: url(../imgs/loginIcon.png) 26px 24px;
	right: 14px;
	top: -6px;
}
/* 二维码登录表单 */
#form2 {
	margin-top: 36px;
	/* display: none; */
}
#form2 > div {
	width: 290px;
	height: 240px;
	border: 1px solid #eeeeee;
	margin: 0 auto;
	font-size: 12px;
	color: black;
}
#form2 > div img {
	width: 104px;
	height: 104px;
	margin: 40px auto 0;
}
#form2 > div p {
	margin-top: 20px;
}
#form2 > p .icon3 {
	right: 30px;
	top: -4px;
}
